

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class APDiscoveryContetListLayout;
@protocol APDiscoveryContetListLayoutDelegate <NSObject>

- (CGSize)worksListView:(UICollectionView *)listView layout:(APDiscoveryContetListLayout *)Layout sizeForItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface APDiscoveryContetListLayout : UICollectionViewLayout
@property (nonatomic, assign) CGFloat interitemSpace;
@property (nonatomic, assign) CGFloat lineSpace;
@property (nonatomic, assign) UIEdgeInsets sectionInsets;
@property (nonatomic, assign) NSInteger columns;
@property (nonatomic, weak) id<APDiscoveryContetListLayoutDelegate>delegate;
@end

NS_ASSUME_NONNULL_END
